package com.zslc.foreignoption.dao;

import com.alibaba.fastjson2.JSONObject;
import com.zslc.foreignoption.entity.TweetAuthor;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface TweetAuthorMapper {
    Integer insertTweetAuthor(JSONObject authorMap);

    TweetAuthor selectOneById(String authorId);

    TweetAuthor selectOneByObj(TweetAuthor author);

    List<TweetAuthor> list();
}
